using UnityEngine;



public abstract class GameEvent
{
}

public class TurnChangeEvent : GameEvent
{
    public ChessSide TurnSide;

    public TurnChangeEvent(ChessSide turnSide)
    {
        TurnSide = turnSide;
    }
}

public class ChangeEvent : GameEvent
{
    public Chess ChangeChess;

    public ChangeEvent(Chess changeChess)
    {
        ChangeChess = changeChess;
    }
}

public class moveEvent : GameEvent
{
    public Chess moveChess;

    public moveEvent(Chess moveChess)
    {
        this.moveChess = moveChess;
    }
}

public class KillChessEvent : GameEvent
{
    public Chess AttackChess;
    public Chess DeadChess;

    public KillChessEvent(Chess attackChess, Chess deadChess)
    {
        AttackChess = attackChess;
        DeadChess = deadChess;
    }
}

public class AttackChessEvent : GameEvent
{
    public Chess AttackChess;
    public Chess BeAttackedChess;

    public AttackChessEvent(Chess attackChess, Chess beAttackedChess)
    {
        AttackChess = attackChess;
        BeAttackedChess = beAttackedChess;
    }
}


public class PlacedEvent : GameEvent
{
    public Chess PlacedChess;

    public PlacedEvent(Chess placedChess)
    {
        PlacedChess = placedChess;
    }
}

